/* Copyright (c) 2011 Team A CS2340. All rights reserved.*/

package edu.gatech.teama.doctorsoffice.net;

import java.util.List;

import edu.gatech.teama.doctorsoffice.model.Appointment;
import edu.gatech.teama.doctorsoffice.server.DataModel;

/**
 * Transfer a List<Appointment>
 * @author Team A
 * @version $Revision: 1.0 $
 *
 */
public class AppointmentListMessage extends Message{

	/**
	 * Transfer an appointment list
	 * @param list appointment list to transfer
	 */
	public AppointmentListMessage(List<Appointment> list) {
		super(list);
	}

	@Override // $codepro.audit.disable methodJavadoc
	public Message handle(DataModel model) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override public String toString() { // $codepro.audit.disable methodJavadoc
		return this.getPayload().toString();
	}

}
